#include <windows.h>
#include <d3d10.h>
#include <d3dx10.h>

#include <vector>
#include <string>

using namespace std;

class sceneNode {

private:
	string				name;
	D3DXMATRIX			objectMatrix;	//node world matrix (?)
	ID3DX10Mesh*		mesh;			//node mesh
	vector <string>		children;		//children

public:

	sceneNode(string n);
	~sceneNode();

	string getName();
	
	D3DXMATRIX getMatrix();			//setter-getter for matrix;
	void setMatrix(D3DXMATRIX matrix);

	ID3DX10Mesh* getMesh();				//mesh
	void setMesh(ID3DX10Mesh* gMesh);

	int addChild(string n);			//children nodes
	//void removeChild(sceneNode *c);
	void removeChild(int i);
	void removeChild(string n);
	vector<string>* getChildren();

	//bool isChild(sceneNode *c);
	bool isChild(string n);
	int childCount();

	void draw();

};